package com.arpa.wms.mapper;


import com.arpa.wms.domain.dto.DifferenceDTO;
import com.arpa.wms.domain.entity.Difference;
import com.arpa.wms.domain.vo.DifferenceVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 盘点 Mapper 接口
 * </p>
 *
 * @author LEO
 * @since 2020-09-30
 */
public interface DifferenceMapper extends BaseMapper<Difference> {

    /**
     * 查询列表
     * @param differenceDTO
     * @return
     */
    List<DifferenceVO> queryList(DifferenceDTO differenceDTO);

    List<String> queryByGoodsCode(List<String> list);

    /**
     * 查询合计,包含总数
     * @param differenceDTO
     * @return
     */
    DifferenceVO queryListSum(DifferenceDTO differenceDTO);
}
